@extends('host.custom.common.common')
@section('c-head')
    <script type="text/javascript">
        PAGE_DATA = {
            pagingObj : {
                total : "0",
                pageSize : "7",
                page : "1"
            }
        };

    </script>
@stop
@section('body')
        <!-- top_test -->
    <div id="top_test"></div>

    <!-- web_logo_search -->
    <div id="web_logo_search"></div>

    <!-- comm_nav -->
    <div id="comm_nav"></div>

    <div class="com-w mt20">
        <div class="wrapper clearfix">
            <div  class="w220 mr20 comm-left-menu">
                <div class="menu-top-title">采购中心</div>
                <div id="leftmenuitems"></div>
            </div>

            <div class="w960 comm-main">
                <div class="main-release clearfix">
                    <div class="main-release-nav">您当前的位置：首页 > 采购中心 > 采购意向单</div>
                    <div class="main-release-title">
                        <span class="icons"></span>
                        <span class="release-title-h3 f16">我收到的报盘</span>
                    </div>
                    <div class="main-release-from">
                        <div class="h60 w960">
                            <div class="closing-time f14">
                                还盘日期：
                                <input type="text" class="sel-order-time-1" readonly="readonly" />
                                -
                                <input type="text" class="sel-order-time-2" readonly="readonly"/>
                                状态：
                                <select id="oper_state">
                                    <option value=>请选择</option>
                                    <option value="1">已处理</option>
                                    <option value="2">未处理</option>
                                </select>
                                <div class="btn btn-warn btn-w70x32 sel-search-btn">搜索</div>
                            </div>
                        </div>
                        <div class="comm-tbl">
                            <div class="head">
                                <ul class="clearfix">
                                    <li class="w180">产品标题</li>
                                    <li class="w80">价格(元)</li>
                                    <li class="w80">数量</li>
                                    <li class="w80">还盘时间</li>
                                    <li class="w100">地区</li>
                                    <li class="w80">联系人</li>
                                    <li class="w100">联系电话</li>
                                    <li class="w80">状态</li>
                                    <li class="w180">操作</li>
                                </ul>
                            </div>
                            <div id="commTabs_1_body" class="body clearfix"></div>

                        </div>

                    </div>

                </div>
                <div class="comm-paging" id="comm-paging" style="float: right;"></div>
            </div>

        </div>
    </div>

    <!-- foot_nav -->
    <div id="foot_nav"></div>

    <div id="bottom_main"></div>
    <script type="text/template" id="item-template">
        <%_.each(obj, function(item){%>

        <ul class="clearfix counter-bid" data-id="<%=item.id%>">
            <li class="w180 double-line f-coffee" title="<%=item.goodsname %>">  <%=item.goodsname %> </li>
            <li class="w80 f-red"> ￥<%=item.price %></li>
            <li class="w80"> <%=item.amount %></li>
            <li class="w80 double-line f-grey-2"> <span class="link-txt mt15 lh14"><%=item.counterofferdate %></span> </li>
            <li class="w100 f-grey-2"><%=item.district %></li>
            <li class="w80 f-red"><%=item.personname %></li>
            <li class="w100 f-red"> <%=item.tel %></li>
            <%if(item.state=="0"){%>
            <li class="w80 f-grey-2 state">已处理</li>
            <li class="w180">
                <div class="btn btn-warn btn-70x30" style="visibility:hidden;">处理</div>
                <div class="btn btn-default btn-70x30 mt15 sel-edit-del">删除</div> </li>
            <%}else{%>
            <li class="w80 f-grey-2 state">未处理</li>
            <li class="w180">
                <div class="btn btn-warn btn-70x30 handle" code="<%=item.id%>">处理</div>
                <div class="btn btn-default btn-70x30 sel-edit-del">删除</div> </li>
            <%}%></ul>
        <%});%></script>
    <script type="text/template" id="item-template1">
        <div class="dialog-div">
            <div>是否确认处理该条信息</div>
            <div class="price-game-btn">
                <div class="btn btn-gray btn-w140x40 remove">取消</div>
                <div class="btn btn-warn btn-w140x40 submits" code="">提交</div>
            </div>
        </div>
    </script>
    <link rel="stylesheet" href="/assets/b2b/css/jquery-ui.min.css">
    <script type="text/javascript" src="/assets/b2b/js/libs/dialog-min.js"></script>
    <script src="/assets/b2b/js/libs/jquery.paging.min.js"></script>

    <script src="/assets/b2b/js/libs/jquery-ui.min.js"></script>
    <script src="/assets/b2b/js/pageModules/buyer/B3.js"></script>


@stop